﻿using Microsoft.AspNetCore.SignalR;

namespace VisualConsole.Hubs
{
    public class InfoHub:Hub
    {
        public async Task SendMessage(string cmd,string data)
        {
            await Clients.All.SendAsync("ReceiveMessage", cmd, data);
        }

        
    }
}
